package com.start.workflow.core.mappers;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StartActReDeploymentMapper {
    /**
     * 删除自动部署流程
     *
     * @return
     */
    @Delete(" delete from act_re_deployment" +
            "        where NAME_='SpringAutoDeployment'" +
            "          and CATEGORY_ is null" +
            "          and KEY_ is null")
    long deleteSpringAutoDeployment();
}
